package com.example.dto;

import lombok.Data;

/**
 * <p>
 * 图片上传返回值
 * //成功时
 * {
 * "error" : 0,
 * "url" : "http://www.example.com/path/to/file.ext"
 * }
 * //失败时
 * {
 * "error" : 1,
 * "message" : "错误信息"
 * }
 * </p>
 * Created by zhezhiyong@163.com on 2018/7/24.
 */
@Data
public class FileResult {

    private int error;
    private String url;
    private String message;

}
